package com.wuage.interfaces.permission.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Shynin
 * @version 1.0
 * @date 9/29/21 1:58 PM
 */
@Data
@ApiModel("角色权限更新对象")
public class RolePermissionUpdateDO {

    @ApiModelProperty("角色id")
    @NotNull(message = "角色Id不能为空")
    private Long roleId;

    @ApiModelProperty("权限id")
    @NotNull(message = "菜单id不能为空")
    private Long menuId;
}
